<template>
  <div class="ImgPreview">
    <el-card :body-style="{ padding: '0px' }" class="card">
      <el-image
        style="width: 100px; height: 100px"
        :src="url"
        :preview-src-list="srcList[0]"
      >
      </el-image>
      <div style="padding: 5px" class="bottom">
        <span>平面全览图</span>
      </div>
    </el-card>
    <el-card :body-style="{ padding: '0px' }" class="card">
      <el-image
        style="width: 100px; height: 100px"
        :src="url"
        :preview-src-list="srcList[1]"
      >
      </el-image>
      <div style="padding: 5px" class="bottom">
        <span>3D全览图</span>
      </div>
    </el-card>
  </div>
</template>

<script>
export default {
  data() {
    return {
      url: "/image/logo.jpg",
      srcList: [["/image/Gfullview2.png"],[require("@/assets/images/ful3Dmax.png")]],
      
    };
  },
};
</script>

<style lang="less" scoped>
.ImgPreview {
  width: 100%;
  height: 100%;

  display: flex;
  .card {
      padding: 10px;
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    margin-right: 10px;
  }
  img {
    height: 100px;
    width: 100px;
  }
  .bottom {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
</style>